package com.heima.service.impl;

import com.heima.mapper.BusinessMapper;
import com.heima.pojo.entity.Business;
import com.heima.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * \* User: chy
 * \* Date: 2025/8/18  20:27
 * \* Description:
 * \
 */
@Service
public class BusinessServiceImpl implements BusinessService {
    @Autowired
    private BusinessMapper businessMapper;
    /**
     * 查询商圈列表
     * @return
     */
    @Override
    public List<Business> list() {
        List<Business> businessList = businessMapper.AllList();
        return businessList;
    }
}
